﻿using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.ComponentModel.Composition.Hosting;
using System.Text;

namespace FinMkts.Prices.ConsoleClient
{
    class Program
    {
        static void Main(string[] args)
        {
            var catalog = new DirectoryCatalog(".");
            var container = new CompositionContainer(catalog);
            var client = new PricesConsoleClient();
            container.ComposeParts(client);

            client.Start();

            Console.WriteLine("Press any key to exit");
            Console.ReadKey();
        }
    }
}
